﻿using System.Collections.Generic;
using System.Threading.Tasks;
using YaAppoint.Appointments.ManualAppoints;

namespace YaAppoint.Appointments
{
    /// <summary>
    /// 取消预约 （在线服务）
    /// </summary>
    public class HisAndPacsCancelService : IHisAndPacsCancelSevice
    {
        /// <summary>
        ///  his取消检查项目
        /// </summary>
        public async Task<bool> DoHisCancelExamItemAppoint(List<SubmitAppointDto> examItemList)
        {
            // 此处为修改his数据库或者调用his API 的逻辑
            return true;
        }

        /// <summary>
        /// pacs取消检查项目
        /// </summary>
        public async Task<bool> DoPacsCancelExamItemAppoint(List<SubmitAppointDto> examItemList)
        {
            // 此处为调用pacs api进行取消检查项目预约的逻辑
            return true;
        }
    }
}
